import { propDecoratorFactory } from "./decorator.factory";


const toBoolean = val => val === 'false' ? false : Boolean(val);

export function InputBoolean() {
  return propDecoratorFactory('InputBoolean', toBoolean);
}